# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-pytest-regtest
_pyname=pytest-regtest
pkgver=1.4.5
pkgrel=2
pkgdesc="pytest-regtest is a pytest-plugin for implementing regression tests"
url="https://gitlab.com/uweschmitt/pytest-regtest"
arch="noarch"
license="MIT"
depends="py3-pytest"
makedepends="py3-setuptools"
checkdepends="py3-pexpect py3-tox"
source="https://files.pythonhosted.org/packages/source/p/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install \
		--prefix=/usr \
		--root="$pkgdir"

}

sha512sums="f10faf6f6bbbe1e08f6aaa6e67ef8b47da48d081f041e0977ebed348c1e49432fc9f00e8567a996fd0bd6f103ca8335b3fb5e5796baaf6cdaa18293da9d82064  pytest-regtest-1.4.5.tar.gz"
